from flask import Flask
app = Flask(__name__)



@app.route("/")
def hello():
    # print(1/0)
    return "hello flask"


if __name__ == '__main__':
    """
    host
    port
    debug:设置为true好处：
        1.运行过程中，改代码后保存即可部署程序
        2.报错会友好提示
        
    """
    app.run(debug=True)
